package com.gsp.gspframeworktest.service;


import com.gsp.gspframework.bean.FileParam;
import com.gsp.gspframeworktest.entity.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerService {

    List<Customer> getCustomerList();

    List<Customer> getCustomerList(String keyword);

    Customer getCustomer(long id);

    boolean createCustomer(Map<String, Object> param);

    boolean updateCustomer(long id, Map<String, Object> param);

    boolean deleteCustomer(long id);

    boolean createCustomer(Map<String, Object> fieldMap, FileParam fileParam);
}
